package com.hgx.su.common.pure.dto;

import java.io.Serializable;

/**
 * 公共请求
 */
public class PubRequest implements Serializable {

    /**
     * 请求服务名称（暂时未启用，空）
     *
     * @mock user/login
     */
    private String method;
    /**
     * 签名字符串
     */
    private String sign;
    /**
     * 签名类型
     * @mock md5
     */
    private String signType;
    /**
     * 用户登陆token
     */
    private String token;
    /**
     * 调用服务版本号（暂时未启用，空）
     * @mock 1.0
     */
    private String version;

    public String getMethod() {
        return method;
    }

    public void setMethod(String method) {
        this.method = method;
    }

    public String getSign() {
        return sign;
    }

    public void setSign(String sign) {
        this.sign = sign;
    }

    public String getSignType() {
        return signType;
    }

    public void setSignType(String signType) {
        this.signType = signType;
    }

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    public String getVersion() {
        return version;
    }

    public void setVersion(String version) {
        this.version = version;
    }

    @Override
    public String toString() {
        return "PubRequest [method=" + method + ", sign=" + sign
                + ", signType=" + signType + ", token=" + token + ", version="
                + version + "]";
    }

}
